//
//  SCIMUploadManager.h
//  Shuaiche
//
//  Created by xiangtao on 2024/12/19.
//  Copyright © 2024 ShuaiChe. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SCCarAddImageModel.h"

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger,OSSType)
{
    OSSTypeMedia      = 0,
    OSSTypeSound      = 1,
    OSSTypeFile      = 2,
};

@interface SCIMUploadManager : NSObject

+ (instancetype)sharedInstance;

+ (void)startUploadImage:(UIImage *)image completion:(void(^)(NSString *picUrl, NSString *fileName, NSString *errorString))block;

+ (void)startUploadVideo:(NSData *)data completion:(void(^)(NSString *videoUrl,NSString *errorString))block;

+ (void)startUploadVoice:(NSData *)data completion:(void(^)(NSString *voiceUrl,NSString *errorString))block;

+ (void)startUploadFile:(NSData *)data fileName:(NSString *)fileName completion:(void(^)(NSString *fileUrl,NSString *errorString))block;

@end

NS_ASSUME_NONNULL_END
